package com.etime.shyauth.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("sysuser")
public class SysUser {
    @TableId(value = "userid",type = IdType.AUTO)
    private Integer userid;

    private String username;

    private String userpwd;

    private String usertruename;

    private Integer userbirthyear;

    private Integer userbirthmonth;

    private Integer userbirthday;

    private String useroccupation;

    private String usermajor;

    private String userphone;

    private String useremail;

    private Integer userstate;

    private String showpic;

    private Integer isteacher;

    private Integer issaler;

    private String nickname;

    private String openid;

    private String unionid;

    private String code;

    private Date createtime;

    private Integer saleruserid;

    private Integer edusohoid;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public String getUsertruename() {
        return usertruename;
    }

    public void setUsertruename(String usertruename) {
        this.usertruename = usertruename == null ? null : usertruename.trim();
    }

    public Integer getUserbirthyear() {
        return userbirthyear;
    }

    public void setUserbirthyear(Integer userbirthyear) {
        this.userbirthyear = userbirthyear;
    }

    public Integer getUserbirthmonth() {
        return userbirthmonth;
    }

    public void setUserbirthmonth(Integer userbirthmonth) {
        this.userbirthmonth = userbirthmonth;
    }

    public Integer getUserbirthday() {
        return userbirthday;
    }

    public void setUserbirthday(Integer userbirthday) {
        this.userbirthday = userbirthday;
    }

    public String getUseroccupation() {
        return useroccupation;
    }

    public void setUseroccupation(String useroccupation) {
        this.useroccupation = useroccupation == null ? null : useroccupation.trim();
    }

    public String getUsermajor() {
        return usermajor;
    }

    public void setUsermajor(String usermajor) {
        this.usermajor = usermajor == null ? null : usermajor.trim();
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone == null ? null : userphone.trim();
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail == null ? null : useremail.trim();
    }

    public Integer getUserstate() {
        return userstate;
    }

    public void setUserstate(Integer userstate) {
        this.userstate = userstate;
    }

    public String getShowpic() {
        return showpic;
    }

    public void setShowpic(String showpic) {
        this.showpic = showpic == null ? null : showpic.trim();
    }

    public Integer getIsteacher() {
        return isteacher;
    }

    public void setIsteacher(Integer isteacher) {
        this.isteacher = isteacher;
    }

    public Integer getIssaler() {
        return issaler;
    }

    public void setIssaler(Integer issaler) {
        this.issaler = issaler;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid == null ? null : unionid.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getSaleruserid() {
        return saleruserid;
    }

    public void setSaleruserid(Integer saleruserid) {
        this.saleruserid = saleruserid;
    }

    public Integer getEdusohoid() {
        return edusohoid;
    }

    public void setEdusohoid(Integer edusohoid) {
        this.edusohoid = edusohoid;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", usertruename='" + usertruename + '\'' +
                ", userbirthyear=" + userbirthyear +
                ", userbirthmonth=" + userbirthmonth +
                ", userbirthday=" + userbirthday +
                ", useroccupation='" + useroccupation + '\'' +
                ", usermajor='" + usermajor + '\'' +
                ", userphone='" + userphone + '\'' +
                ", useremail='" + useremail + '\'' +
                ", userstate=" + userstate +
                ", showpic='" + showpic + '\'' +
                ", isteacher=" + isteacher +
                ", issaler=" + issaler +
                ", nickname='" + nickname + '\'' +
                ", openid='" + openid + '\'' +
                ", unionid='" + unionid + '\'' +
                ", code='" + code + '\'' +
                ", createtime=" + createtime +
                ", saleruserid=" + saleruserid +
                ", edusohoid=" + edusohoid +
                '}';
    }
}
